//class string;
#include "neiderra/core/Base.h"

#include <string>
#include <vector>

using namespace std;
using namespace neiderra::core;

namespace neiderra {
	namespace utils {
		namespace script {
			//! Works with scopes of view
			class ScopeManager: public Base
			{
			public:
				class top{};
				
				ScopeManager(Core*);
				~ScopeManager();
		//		void back();
				void back(int);
				void openScope(string);
				void area();
				void closeScope();
				void closeScope(int);
				string getScope();
				string getArea();
				string prev();
				void reset();
				string prev_current();
			private:
				int i, j, size;
				vector<string> scope;
			};
		}
	}
}
